const commonInfo = {
  pageSizeArr: [10, 20, 30, 40],

  // 暂无接口 前台写死数据
  auditStatusDict : [
    {value:0,label:'待审核'},
    {value: 1,label:'审核通过'},
    {value:2,label:'审核不通过'}
  ],
  statusDict : [
    {value: 1, label: "待生效"},
    {value: 2, label: "生效中"},
    {value: 3, label: "已结束"}
  ],
  typeDict : [
    {value:1,label:'已支付'},
    {value:2,label:'试用'},
  ],
  debounce: (func,delay) => {
    var timer = null;
    return function() {
        var context = this;
        var args = arguments;
        if (timer) {
            clearTimeout(timer)
        }
        timer = setTimeout(function() {
            func.apply(context, args);
            timer = null;
        }, delay);
    }
  }
};

export default commonInfo


